home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
self
/
contrib.lha
/
contrib
/
README-window
< prev
next >
Wrap
Text File
|
1993-07-24
|
897b
|
26 lines
For those who are interested in using the X support provided in the
current release, here's some information:
The current release includes support for X windows and X events, but
not for X graphics. It does provide Pixrect graphics. The ui, for
example, draws Pixrect graphics in an X window in response to X
events. (This isn't a great situation, but it was a relatively quick
port.) X graphics can be had by gluing them in as primitives--see the
manual.
"window.self" contains a sample window object that creates a window
and gets events. The other object that participates is defined in
"eventWatcher.self" (included in the release); X calls go through
xlib.self and xlibPrims.wrappers.self (which are also in the release).
To open a window, do:
window copy
To see the events as they occur, first do
window debug: true
and then open a window.